package sjd.ahsj.springbootmybatisplusoracle.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import sjd.ahsj.springbootmybatisplusoracle.entity.SuperEntity;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 动漫类别
 * </p>
 *
 * @author zhanghaogao
 * @since 2018-09-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("anime_type")
@SuppressWarnings("serial")
@AllArgsConstructor
@NoArgsConstructor
public class AnimeType extends SuperEntity<AnimeType> {


    /**
     * 是否删除 0：有效，1：删除
     */
    @JSONField(serialize = false)
    @TableLogic
    @JsonIgnore
    private Integer state = 0;
    /**
     * 名称
     */
    private String name;


}
